<?php

namespace App\Model\Guild;

use App\Model\UserProfile;

/**
 * 女用户结算
 */
class HostAccountDaily extends GuildBase
{
    protected $table = 'guild_host_account_daily';

    public function hostInfo()
    {
        return $this->belongsTo(UserProfile::class, 'host_id', 'user_id');
    }

    public function guildInfo()
    {
        return $this->belongsTo(Guild::class, 'guild_manage_id', 'id');
    }

    public function guildHost()
    {
        return $this->belongsTo(GuildHost::class, 'host_id', 'host_user_id');
    }
}
